/**
 * 
 */
package com.planner.core.dao;

import java.util.List;

/**
 * @author Sangharsh
 *
 */
public interface NodeDAO<T> extends BaseDAO{
	public List<T> getAllNodes();
	public void add(T GraphNode);
	public void addAll(List<T> GraphNodes);
	public T getNode(long id) throws NodeNotFoundException;
	public T getNode(String code) throws NodeNotFoundException;
	public void deleteNode(long id);
	public void updateNode(T GraphNode);
}
